#include "serverException.h"
//服务器异常
ServerException::ServerException(){
	
	this->msg = "ServerException!\n";
	
}

ServerException::ServerException(const string& msg){
	this->msg = "ServerException\n";
	this->msg += msg;
	this->msg += "!";
}
//返回服务器异常信息 
const char* ServerException::show(){
	//c_str()函数返回一个指向正规C字符串的指针, 内容与本string串相同
	return this->msg.c_str();//c_str:return point(type of char)


}
